package com.express.e.root.dao;

import com.express.e.root.bean.User;

import java.util.List;

public interface UserDao {

    Boolean addUser(User user);

    Boolean deleteUser(Integer userId);

    Boolean updateUser(User user);

    List listUser();

    User queryById(Integer userId);

    User queryByName(String userName);

    User queryByPhone(String phone);

    User queryByCardId(String cardId);
}
